package com.hksj.Intelligentmanagement.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@ApiModel
public class SurgicalAssistantVo {

    @ApiModelProperty(value = "手术信息表")
    private String id;

    @ApiModelProperty(value = "手术间名称")
    private String roomName;

    @ApiModelProperty(value = "执刀时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date operateTime;

    @ApiModelProperty(value = "主刀医生姓名")
    private String masterDoctorName;

    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "患者性别{0为女生，1为男生}")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "患者年龄")
    @TableField("age")
    private Integer age;

    @ApiModelProperty(value = "床号")
    private String bedCode;

    @ApiModelProperty(value = "诊断")
    private String diagnosis;

    @ApiModelProperty(value = "手术名称")
    private String surgicalName;

    @ApiModelProperty(value = "麻醉方式")
    private String anaesthesiaType;

    @ApiModelProperty(value = "手术状态")
    private Integer status;

    @ApiModelProperty(value = "排班状态  0 = 未排班 1 = 已排班 2 = 排班中")
    private Integer schedulingStatus;

    @ApiModelProperty(value = "已排班手术和房间关联关系id")
    private String relationId;

    @ApiModelProperty(value = "手术人员信息列表")
    @JsonIgnore
    private List<AssistantVo> assistantList;

    @ApiModelProperty(value = "洗手护士列表")
    private List<AssistantVo> washNurseList = new ArrayList<>();

    @ApiModelProperty(value = "巡回列表")
    private List<AssistantVo> tourNurseList = new ArrayList<>();

    @ApiModelProperty(value = "护士助理列表")
    private List<AssistantVo> nurseAssistantList = new ArrayList<>();

    @ApiModelProperty(value = "麻醉列表")
    private List<AssistantVo> anesthesiaList = new ArrayList<>();

    @ApiModelProperty(value = "副麻醉列表")
    private List<AssistantVo> secondAnesthesiaList = new ArrayList<>();

    @ApiModelProperty(value = "麻醉助理列表")
    private List<AssistantVo> anesthesiaAssistantList = new ArrayList<>();

    @ApiModelProperty(value = "麻醉指导列表")
    private List<AssistantVo> anesthesiaInstructorList = new ArrayList<>();
}
